﻿
@model LastoRevival.Service.Contracts.Models.EditForumModel

@{ 
	ViewBag.Title = "Edit Forum";

	this.AddIndexBreadCrumb();
	this.AddForumBreadCrumb(Model.ForumID);
	this.AddCurrentBreadCrumb("Edit");
}

@Html.ValidationSummary()

<h1>Edit Forum</h1>

<div id="editForumContainer">

	<form id="edit-forum-form" action="@Url.Action("EditForum", "Admin")" method="post">
		<input type="hidden" name="forumID" value="@Model.ForumID" />

		<span class="form-field" id="forum-title">
			<label for="title">@LanguageLoader.GetWord("ForumTitleLabel")</label>
			<input type="text" id="title" name="title" value="@Model.Title" />
		</span>
	
		<span class="form-field" id="forum-description">
			<label for="description">@LanguageLoader.GetWord("ForumDescriptionLabel")</label>
			<input type="text" id="description" name="description" value="@Model.Description" />
		</span>

		<span class="form-field" id="forum-indexOrder">
			<label for="indexOrder">@LanguageLoader.GetWord("ForumIndexOrderLabel")</label>
			<input type="text" id="indexOrder" name="indexOrder" value="@Model.IndexOrder" />
		</span>

		<span class="button-container">
			<input type="submit" value="Save" />
		</span>
	
	</form>

</div>